package com.tiancheng.trade.payment.service;

import com.tiancheng.trade.payment.model.SettleMatch;

import java.util.List;
import java.util.Map;

/**
 * @author kellen
 * @date 2024-12-09 17:09
 */
public interface SettleMatchService {
    /**
     * 批量插入
     *
     * @param list
     * @return
     */
    int insertBatch(List<SettleMatch> list);

    /**
     * 根据某字段删除
     *
     * @param deleteBy
     * @param deleteValue
     * @return
     */
    Integer remove(String deleteBy, Object deleteValue);

    List<Map<String,Object>> findBySubOrderIds(List<String> subOrderIds, String settleStatus);

    /**
     * 查询分账失败+划付成功的订单明细
     * @param subFlowIds
     * @return
     */
    List<Map<String,Object>> findApprFailAndDistSecFlowDetail(List<String> subFlowIds);
}
